﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using MvcApplication6.DAL;
using MvcApplication6.Models;

namespace MvcApplication6.BIZ
{
    public class ImageBIZ
    {
        ImageDAL DAL = new ImageDAL();

        //---------------------ImageInsert-----------------------------
        public int ImageInsert(string name)
        {
            try
            {
                int i = DAL.ImageInsert(name);

                return i;
            }
            catch (Exception)
            {
                throw;
            }
        }
    }
}